﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UClaimDemageControlDiffAnalyse.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UClaimDemageControlDiffAnalyse" %>
<div class="pageContent">
	<form method="post" action="UserModel/UClaimDemageControlDiffAnalyse.aspx?ajaxmethod=edit&ClaimsNumber=<%=ClaimsNumber %>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">	      
              <table style="width: 100%;" class="mylist">
                <thead>
                    <tr>
                        <th  align="center">
                            </th>
                        <th >
                            索赔成本</th>
                        <th>
                            向供应商索赔</th>
                        <th >
                            结算金额</th>
                        <th >索赔成本差异</th>
                        <th>索赔收入差异</th>
                    </tr>                    
                 </thead>
                 <tr class="selected" >
                    <td style="font-weight:bold!important;" >
                        合计</td>
                    <td>
                        <a class="btnEditMoney" href="UserModel/UClaimDemageControlEdit.aspx?ClaimsNumber=<%=ClaimsNumber %>" target="dialog" title="[索赔单号:<%=ClaimsNumber %>]索赔成本"
                rel="UClaimDemageControlEdit" max="false" mask="true" maxable="false" minable="false" resizable="false"
                drawable="true" width="850" height="450">
                        <%=obj.AgentTotalCost%>    
                       </a>
                    </td>
                    <td>
                        <a height="450" width="850" drawable="true" resizable="false" minable="false" maxable="false" mask="true" max="false" rel="UClaimDemageControlUpdateSupplerDetail" title="[索赔单号:<%=ClaimsNumber %>]向供应商索赔明细" target="dialog" href="UserModel/UClaimDemageControlUpdateSupplerDetail.aspx?ClaimsNumber=<%=ClaimsNumber %>" class="btnEditMoney">
                            <%=obj.SupplerTotalCostRMB%>  
                        </a>
                     </td>
                    <td>
                        <a height="450" width="850" drawable="true" resizable="false" minable="false" maxable="false" mask="true" max="false" rel="UClaimDemageControlUpdateFinalDetail" title="[索赔单号:<%=ClaimsNumber %>]索赔明细结算" target="dialog" href="UserModel/UClaimDemageControlUpdateFinalDetail.aspx?ClaimsNumber=<%=ClaimsNumber %>" class="btnEditMoney">
                            <%=obj.FinalTotalCostRMB%>  
                        </a>
                    </td>
                    <td >
                      <a href="#FinalDiffAmount" style=" color:<%=obj.FinalDiffAmount<0?"red":"#000"%>" >  <%=obj.FinalDiffAmount%>  </a>
                    </td>
                    <td >
                      <a href="#SupplerDiffAmount" style="color:<%=obj.SupplerDiffAmount<0?"red":"#000"%>">  <%=obj.SupplerDiffAmount%> </a>
                    </td>
                </tr>
            </table>
            
         <div class="divider"></div>
         <div  class="titleshowlegent">
             <a name="FinalDiffAmount"> 成本差异分析说明: </a>
          </div>
          <p>
            <label style="width:160px!important;">责任归属(IHISCE责任):</label>
            <select name="DiffDuty">
                <option value="" <%=obj.DiffDuty==""?"selected":""%>>请选择....</option>
                <option value="厂内组装" <%=obj.DiffDuty=="厂内组装"?"selected":""%>>厂内组装</option>
                <option value="营业政策性索赔" <%=obj.DiffDuty=="营业政策性索赔"?"selected":""%>>营业政策性索赔</option>
                <option value="特殊索赔约定" <%=obj.DiffDuty=="特殊索赔约定"?"selected":""%>>特殊索赔约定</option>
                <option value="其它" <%=obj.DiffDuty=="其它"?"selected":""%>>其它</option>
            </select>
          </p>
          <textarea name="FinalDiffAnalyse"  style="width:95%; height:60px;"><%=obj.FinalDiffAnalyse%></textarea>
           <div  class="titleshowlegent">
            <a name="SupplerDiffAmount">索赔差异分析说明: </a>
          </div>
          <textarea name="SupplerDiffAnalyse"  style="width:95%; height:60px;"><%=obj.SupplerDiffAnalyse%></textarea>
       </div>
       <div class="formBar">
			<ul>
				 <% if (HasPower(IHISCETeim.Web.Permission.索赔管控_差异分析))
        {%>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
                <%} %>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>   
	</form>
</div>

